﻿$(document).ready(function () {
    
})

window.onload = function () {
    if ($("#typeID").val()=="0")
        $('#typeNameSpan').html('请选择类型');
}

function selectTopicType() {
    AlertDialog("TopicTypeDialog", 300, 'auto');
}

function checkTopicType(typeName, typeId) {
    $("#typeID").val(typeId);
    $("#typeNameSpan").html(typeName);
    $("#TopicTypeDialog").dialog("close");
}